package cn.trda.mapper;

import cn.trda.pojo.Account;

public interface AsAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
    Account selectByUserId(Long userId);

	Account getAccountByUserId(Long agentid);
}